/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "upper_ftpprogram",TableName = "upper_ftpprogram")]
    public partial class upper_ftpprogram:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ftp_program_id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ftp_program_id { get; set; }

       /// <summary>
       ///FTP加工中心单外键
       /// </summary>
       [Display(Name ="FTP加工中心单外键")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ftpmachiningcenter_id { get; set; }

       /// <summary>
       ///序
       /// </summary>
       [Display(Name ="序")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string sequence { get; set; }

       /// <summary>
       ///程序名称
       /// </summary>
       [Display(Name ="程序名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string program_name { get; set; }

       /// <summary>
       ///刀具名称
       /// </summary>
       [Display(Name ="刀具名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string tool_name { get; set; }

       /// <summary>
       ///刀柄
       /// </summary>
       [Display(Name ="刀柄")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string tool_handle { get; set; }

       /// <summary>
       ///夹头
       /// </summary>
       [Display(Name ="夹头")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string tool_collet { get; set; }

       /// <summary>
       ///刀具长度
       /// </summary>
       [Display(Name ="刀具长度")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? knife_length { get; set; }

       /// <summary>
       ///刃长
       /// </summary>
       [Display(Name ="刃长")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? blade_length { get; set; }

       /// <summary>
       ///类型
       /// </summary>
       [Display(Name ="类型")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string category { get; set; }

       /// <summary>
       ///精度
       /// </summary>
       [Display(Name ="精度")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? accuracy { get; set; }

       /// <summary>
       ///转速
       /// </summary>
       [Display(Name ="转速")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? rotate_speed { get; set; }

       /// <summary>
       ///进给
       /// </summary>
       [Display(Name ="进给")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string feed { get; set; }

       /// <summary>
       ///侧/底余量
       /// </summary>
       [Display(Name ="侧/底余量")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string side_bottom_margin { get; set; }

       /// <summary>
       ///Z深
       /// </summary>
       [Display(Name ="Z深")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? z_depth { get; set; }

       /// <summary>
       ///刀具材料
       /// </summary>
       [Display(Name ="刀具材料")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string tool_materials { get; set; }

       /// <summary>
       ///厂商代码
       /// </summary>
       [Display(Name ="厂商代码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string vendor_code { get; set; }

       /// <summary>
       ///注释
       /// </summary>
       [Display(Name ="注释")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string remark { get; set; }

       /// <summary>
       ///时长
       /// </summary>
       [Display(Name ="时长")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="create_time")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="update_time")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? update_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="is_deleted")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? is_deleted { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Holder_Code")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Holder_Code { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace1DTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace1DTheory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace1LTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace1LTheory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace2DTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace2DTheory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace2LTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace2LTheory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace3DTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace3DTheory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Ace3LTheory")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Ace3LTheory { get; set; }

       /// <summary>
       ///刀径宽
       /// </summary>
       [Display(Name ="刀径宽")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       public decimal? knife_width { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="location")]
       [Column(TypeName="int")]
       public int? location { get; set; }

       
    }
}